package org.ben.birthday.twentybirthday.service;

import org.ben.birthday.twentybirthday.entity.BackGroundMovie;

/**
 * @Author: Ben
 * @Date: 2019/8/8 13:59
 */
public interface IBackGroundMovieService {
    /**
     * 增加背景视频IService
     * @param backGroundMovie
     * @return boolean
     */
    boolean insertBackGroundMovieService(BackGroundMovie backGroundMovie);

    /**
     * 删除背景视频IService
     * @param backGroundMovieId
     * @param movieUrl
     * @return boolean
     */
    boolean deleteBackGroundMovieService(Integer backGroundMovieId,String movieUrl);

    /**
     * 更改背景视频IService
     * @param backGroundMovie
     * @return boolean
     */
    boolean updateBackGroundMovieService(BackGroundMovie backGroundMovie);

    /**
     * 根据backGroundMusicId查询背景视频信息IService
     * @param backGroundMovieId
     * @return BackGroundMovie
     */
    BackGroundMovie selectBackGroundMovieService(Integer backGroundMovieId);
}
